<template>
	<view class="tab-bar">
	    <navigator url="/pages/index/index" open-type="switchTab">首页</navigator>
	    <navigator url="/pages/category/category" open-type="switchTab">分类</navigator>
	    <navigator url="/pages/cart/cart" open-type="switchTab">购物车</navigator>
	    <navigator url="/pages/my/my" open-type="switchTab">我的</navigator>
	  </view>
</template>

<script>
	export default {
		name:"LessionTabBar",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="less">
.tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 50px;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
}
</style>